package com.jd.learn.event.eventbus.starter;

/**
 * @author shenkaiwen5
 * @version 1.0
 * @date 2021/1/8
 */
public class ClientStarter {

    public void startPipeline() {
        registEventBus();

        //与etcd相关的监听都开启
        //starter.start();
    }

    private void registEventBus() {
        //netty连接器会关注WorkerInfoChangeEvent事件
        EventBusCenter.register(new MyInfoHolder());
    }
}
